package com.ynet.middleground.user.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ynet.middleground.user.bean.DingTalkSearchEmployeesInfoReq;
import com.ynet.middleground.user.entity.UserRoleRelation;

/**
 * <p>
 * 企业员工角色关系表 Mapper 接口
 * </p>
 *
 * @author Wangxz
 * @since 2019-11-25
 */
public interface UserRoleRelationMapper extends BaseMapper<UserRoleRelation> {

    List<Map<String, Object>> queryOrganizationalStructure();

    List<Map<String, Object>> queryBusinessRole();

    List<Map<String, Object>> queryPortUserInfoList();

    String getorganizationalNameById(String organizational_id);

    List<Map<String, Object>> queryEmployeesForMobile(@Param("req") DingTalkSearchEmployeesInfoReq req);
}
